//
//  JuneAnimationView.h
//  JuneAnimationNum
//
//  Created by June on 16/12/19.
//  Copyright © 2016年 June. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface JuneAnimationView : UIView

/**
 设置显示数值
 */
@property (strong, nonatomic) NSNumber *value;

/**
 数值颜色
 */
@property (strong, nonatomic) UIColor *textColor;

/**
 数值字体
 */
@property (strong, nonatomic) UIFont *font;

/**
 数值转动速度与上下范围
 */
@property (assign, nonatomic) CFTimeInterval duration;
@property (assign, nonatomic) CFTimeInterval durationOffset;

/**
 旋转等待的个数
 */
@property (assign, nonatomic) NSUInteger density;

/**
 数字显示位数
 */
@property (assign, nonatomic) NSUInteger minLength;

/**
 旋转方向 NO 从下到上 YES 从上到下
 */
@property (assign, nonatomic) BOOL isAscending;

- (void)startAnimation;
- (void)stopAnimation;

@end
